@import '../public.scss';

$leftWidth : 200px;

// 头部
.header{
    background: $bg4;
    height: 40px;
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    font-size: 14px;
    .headerbox{
        width: 100%;
    }
    .logo{
        height: 40px;
        width: 200px;
        line-height: 40px;
        text-align: center;
        background: $blue4;
        color: #fff;
        float: left;
        img{
            width: 80px;
            position: relative;
            top: -2px;
        }
		a{
            color: #fff;
            font-size: 24px;
        }
    }
    .menus{
        float: right;
        .active{
            background: $blue5;
            color: #fff;
        }
        a{
            display: inline-block;
            height: 40px;
            line-height: 40px;
            padding: 0 15px;
            color: $blue1;
            position: relative;
        }
        .update{
            &:before{
                content: '';
                display: inline-block;
                width: 10px;
                height: 10px;
                background: red;
                border-radius: 100px;
                position: absolute;
                right: 5px;
                top: 5px;
            }
        }
    }
}
.frame{
    height: 100vh;
}
.frame-left{
    background: $bg3;
    position: fixed;
    top: 40px;
    bottom: 0;
    left: 0;
    width: 200px;
    overflow: auto;
}
.frame-body{
    padding-top: 40px;
    margin-left: 200px;
    height: 100%;
    .frame-content{
        height: 100%;
        position: relative;
    }
}

.menu{
    width: 200px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: $bg3;
    color: $font3;
    li{
        padding-left: 30px;
        .active{
            color: #fff;
        }
    }
    .mt-tabs-left .mt-tabs-header, 
    .mt-tabs-right .mt-tabs-header{
        border: none;
    }
    .mt-tabs .mt-tabs-tab-active{
        color: $font1;
        background: $bg3;
    }
    .mt-tabs .mt-tabs-active-bar{
        background: $green;
        left: 0!important;
        width: 4px!important;
    }
    .mt-tabs .mt-tabs-headbox{
        width: 60px;
    }
    .navlist{
        position: relative;
        z-index: 10;
        left: 0;
        top: 10px;
        .mt-tabs-header li {
            text-align: center;
            line-height: 50px;
            .fonts{
                font-size: 20px;
            }
            a{
                color: $blue1;
                display: block;
                padding: 10px;
            }
        }
    }
    .links{
        li{
            text-indent: 10px;
        }
        a{
            color: $font3;
            display: block;
            padding: 10px;
            font-size: 14px;
            position: relative;
            &:before{
                content: '';
                display: inline-block;
                height: 6px;
                width: 6px;
                border: 1px solid $font3;
                position: absolute;
                top: 50%;
                left: 5px;
                border-radius: 100px;
                transform: translateY(-50%);
            }
        }
        .active{
            color: $font1;
            &:before{
                background: $font1;
                border-color: $font1;
            }
        }
    }
}
.content{
    margin-left: 200px;
    padding: 20px;
    min-height: 600px;
    .content-title{
        font-size: 18px;
        padding-bottom: 20px;
        color: $yellow;
        font-weight: bolder;
    }
}

.contents{
    padding: 20px;
    position: relative;
}

// 样式重写
#App{
    .mt-select-input{
        padding: 8px 10px;
        padding-right: 25px;
    }
}

.tags-box{
    a, .mt-btn{
        margin: 0 10px 10px 0;
        vertical-align: middle;
    }
    .mt-input{
        width: 60px;
    }
    .del{
        color: #ff3535;
        margin: 0 0 0 5px;
    }
}